package com.ayf.payment.game.api.entity.base;


import com.ayf.payment.game.api.utils.SnowFlakeUtils;
import tk.mybatis.mapper.genid.GenId;

/**
 * @Description: 自定义主键生成策略
 * @Author: zh-liang
 * @Date : 2019-12-03 11:27
 */
public class UUIdGenId implements GenId<String> {
    @Override
    public String genId(String s, String s1) {
        String id = SnowFlakeUtils.getUniqueId();
        return id;
    }
}
